package com.car.loan.project.xr.util.bo.business;

import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author huangding
 * @description
 * @date 2019/12/22 22:00
 */
@Data
public class RepaymentInfoBo {

    @ApiModelProperty("业务id")
    private String loanId;

    @ApiModelProperty(value = "0=保存 1=提交", required = true)
    @NotNull
    @Min(0)
    @Max(1)
    private Long operatorStatus;

    /**
     * 放贷日期
     */
    @ApiModelProperty(value = "放贷日期", required = true)
    private String lendDate;

    /**
     * 首期还款日期
     */
    @ApiModelProperty(value = "首期账单日日期")
    private String firstRepayDate;

    @ApiModelProperty("账单日")
    private Integer statementDay;


    @ApiModelProperty(value = "每月利息", required = true)
    @Min(1)
    private BigDecimal monthRepayInterest;

    @ApiModelProperty(value = "每月本金", required = true)
    @Min(1)
    private BigDecimal monthRepayPrincipal;

    @ApiModelProperty(value = "首月利息", required = true)
    @Min(1)
    private BigDecimal firstRepayInterest;

    @ApiModelProperty(value = "首月本金", required = true)
    @Min(1)
    private BigDecimal firstRepayPrincipal;

    @ApiModelProperty(value = "末月利息", required = true)
    @Min(1)
    private BigDecimal lastRepayInterest;

    @ApiModelProperty(value = "末月本金", required = true)
    @Min(1)
    private BigDecimal lastRepayPrincipal;

    @ApiModelProperty("最后还款时间")
    private String lastRepaymentDate;


    /**
     * 还款卡号
     */
    @ApiModelProperty(value = "还款卡号", required = true)
    private String repayCardNo;

    /**
     * 扣款卡号
     */
    @ApiModelProperty(value = "扣款卡号", required = true)
    private String deductionCardNo;


}
